﻿
Option Compare Binary
Option Infer On
Option Strict On
Option Explicit On

Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.ComponentModel.DataAnnotations
Imports System.Data.Objects.DataClasses
Imports System.Linq
Imports System.ServiceModel.DomainServices.Hosting
Imports System.ServiceModel.DomainServices.Server


'The MetadataTypeAttribute identifies tblClientMetadata as the class
' that carries additional metadata for the tblClient class.
<MetadataTypeAttribute(GetType(tblClient.tblClientMetadata))>  _
Partial Public Class tblClient
    
    'This class allows you to attach custom attributes to properties
    ' of the tblClient class.
    '
    'For example, the following marks the Xyz property as a
    ' required property and specifies the format for valid values:
    '    <Required()>
    '    <RegularExpression("[A-Z][A-Za-z0-9]*")>
    '    <StringLength(32)>
    '    Public Property Xyz As String
    Friend NotInheritable Class tblClientMetadata
        
        'Metadata classes are not meant to be instantiated.
        Private Sub New()
            MyBase.New
        End Sub
        
        Public Property clientAddress As String
        
        Public Property clientCity As String
        
        Public Property clientComment As String
        
        Public Property clientContactName As String
        
        Public Property clientContactTitle As String
        
        Public Property clientCountry As String
        
        Public Property clientFax As String
        
        Public Property clientId As String
        
        Public Property clientKey As Integer
        
        Public Property clientLastEdit As String
        
        Public Property clientLastUpdate As DateTime
        
        Public Property clientName As String
        
        Public Property clientPhone As String
        
        Public Property clientState As String
        
        Public Property clientZip As String
        
        Public Property clientZipP4 As String
        
        Public Property tblAppSolutions As EntityCollection(Of tblAppSolution)
        
        Public Property tblLocations As EntityCollection(Of tblLocation)
    End Class
End Class

